<template>
  <view class="container">
    <web-view :src="webviewSrc" class="webview"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      webviewSrc: 'https://gzch.micaps-swift.com/GZCHQX_WeiXin/'
    };
  },
  onShareAppMessage(res) { //发送给朋友
   return {
    title: this.title,
    imageUrl: this.thumb,
   }
  }
};
</script>

<style>
.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webview {
  width: 100%;
  height: 100%;
}
</style>
